package com.bizihang.validate.code.core.support.code;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;

public class ImageValidateCode extends TextValidateCode {
    private BufferedImage image;

    ImageValidateCode(BufferedImage image, String code, int expireIn) {
        super(code, expireIn);
        this.image = image;
    }

    public ImageValidateCode(BufferedImage image, String code, LocalDateTime expireTime) {
        super(code, expireTime);
        this.image = image;
    }
}
